package com.qiyou.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 创建活动页面跳转
 * @author 赛艳志
 */
@WebServlet("/CreateActivityDire")
public class CreateActivityDireServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;

	protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.setCharacterEncoding("UTF-8");
		response.setContentType("text/html;charset=UTF-8");
		
		String dest = request.getParameter("dest");
		String acpic = request.getParameter("acpic");
		
		if (null != dest) {
			request.setAttribute("dest", dest);
			request.setAttribute("acpic", acpic);
		}
		request.getRequestDispatcher("createactivity.jsp").forward(request, response);
	}

}
